package com.ruihu.admin.module.business.task.constant;

import com.ruihu.admin.common.domain.BaseEnum;

/**
 * 任务优先级枚举
 */
public enum TaskPriorityEnum implements BaseEnum {
    NORMAL(1L, "普通"),
    IMPORTANT(2L, "重要"),
    URGENT(3L, "紧急");
    private Long val;

    private String desc;

    TaskPriorityEnum(Long val, String desc) {
        this.val = val;
        this.desc = desc;
    }

    @Override
    public Long getValue() {
        return this.val;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }
}
